package net.wanho.service;

import net.wanho.dto.RoleAuthDTO;
import net.wanho.entity.RoleAuth;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【role_auth(角色权限表)】的数据库操作Service
* @createDate 2025-05-05 02:08:26
*/
public interface RoleAuthService extends IService<RoleAuth> {

    List<Integer> getUserAuthIdList(Integer userId);

    List<Integer> getUserRoleListById(Integer roleId);

    void updateRoleAuth(RoleAuthDTO roleAuthDTO);
}
